package com.hx.localmiaosha.service;

import com.hx.common.domain.MiaoshaUser;

/**
 * @Author wonghiu
 * @Date 2021/6/5 0:01
 * @Version 1.0.1
 */
public interface MiaoShaService {
    boolean checkVerifyCode(MiaoshaUser user, long goodsId, int verifyCode);

    String createMiaoshaPath(MiaoshaUser user, long goodsId);

    boolean checkPath(MiaoshaUser user, long goodsId, String path);

    Long getMiaoshaResult(Long valueOf, long goodsId);

    Long kill(Long goodsId, String randomKey);

}
